//
//  mttRotationRecognizer.h
//  mtt
//
//  Created by Gerfried Mikusch on 29.11.10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIGestureRecognizerSubclass.h>



@interface mttRotationRecognizer : UIGestureRecognizer <UIGestureRecognizerDelegate> {

	CGPoint firstLocation;
	CGPoint prevLocation;
	CGPoint actLocation;
	
}

@property (nonatomic, assign) CGPoint firstLocation;
@property (nonatomic, assign) CGPoint prevLocation;
@property (nonatomic, assign) CGPoint actLocation;


-(void)reset;
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
-(void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event;
-(void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event;
-(void)touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event;

@end
